@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${infMap.id}">

            <div class="row">
				<#input id="dmz8" name="${i18n('mapping.DmzName')}" value="${infMap.dmz8}" />
                <#input id="dmz1" name="${i18n('mapping.DmzCode')}" value="${infMap.dmz1}" underline="true"/>
                @if(isNotEmpty(depots)){
                <#select id="dmz2" name="${i18n('mapping.DmzDepotCode')}" underline="true">
                	<option value=""/>
                	@for(item in depots){
				        <option value="${item.dmz1}">${item.dmz1} - ${item.name}</option>
				    @}
                </#select>
                @}
                <#input id="name" name="${i18n('mapping.LsmsName')}" value="${infMap.name}" underline="true"/>
                <#input id="lsmsId" name="${i18n('mapping.LsmsId')}" value="${infMap.lsmsId}" underline="true"/>
				<input type="hidden" id="dataType"  name="dataType" value="${infMap.dataType}"/>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="${i18n('common.button.save')}" id="ensure" icon="fa-check" clickFun="InfMappingInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="${i18n('common.button.close')}" id="cancel" icon="fa-eraser" clickFun="InfMappingInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/infMapping/infMapping_info.js"></script>
@}
